/**
 * 
 */
package clientGUI.studentGUI;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;

/**
 * @author Wesley
 *
 */
public class HelpGUI
{
	public HelpGUI()
	{
		JPanel mainPane = mainHelp();
		GUI_Function_Library.displayPane("Student User Help", mainPane, false);
	}
	private JPanel mainHelp()
	{
		// welcome greeting
		JLabel mainLabel = new JLabel("Welcome to the Virtual Advisor help system!");
		// contact us
		
		String help = "Getting Started:\n\nTo begin using the Virtual Advisor click \"New Plan,\" or \"Load Plan\"\nOnce a plan has been created you can begin making or continuing your plan.\n" +
					"\nAdding Courses:\n\nClick \"Add Course(s) to a Semester.\"\nIn to pop-up screen select your major, the courses you want to add, then\nclick \"Select Courses.\"\n" +
					"Choose the semester you want to add the courses to, then press \"Submit\"\nIf there are any conflicts with the selected courses, they will be\ndisplayed in the " +
					"\"Feedback\" bar on the bottom of the main screen.\n\nEditing/Removing Courses:\n\nClick \"Edit/Remove Course(s) to a Semester.\"\nSelect the semester you want to remove courses from\n" +
					"The rest has not been implemented yet\n\nAudit Report:\n\nSelect whether you want the report to be based on completed courses\nor planned courses, then hit the button.\n\nSaving A Plan:\n\n" +
					"Click \"Save Plan\" from the main screen, then choose a name to save\nthe plan as, then click \"Save\"\n\nLoading an existing plan:\n\nClick \"Load Plan\" from the main screen," +
					" then select the plan you want\nto load.";
		
		JTextArea contactInfo = new JTextArea(help);
		JPanel mainPane = new JPanel();
		mainPane.setLayout(new BoxLayout(mainPane, BoxLayout.PAGE_AXIS));
		mainPane.add(mainLabel);
		mainPane.add(contactInfo);
		return mainPane;
	}
}
